package com.study.custom.mybatis;

import java.io.InputStream;

/**
 * @desc:
 * @author: panxiyi
 * @date: 2023/12/23 21:09
 */
public class SqlSessionFactoryBuilder {
    public DefaultSqlSessionFactory build(InputStream inputStream) {
        DefaultSqlSessionFactory sqlSessionFactory =new DefaultSqlSessionFactory();
        sqlSessionFactory.setIs(inputStream);
        return sqlSessionFactory;
    }
}
